Class java.util.NoSuchElementException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.util.NoSuchElementException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----RuntimeException
                           |
                           +----java.util.NoSuchElementException

public class NoSuchElementException
extends RuntimeException
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.

Version:
1.14, 07/01/98
Author:
unascribed
Since:
JDK1.0
See Also:
Enumeration, nextElement()

Constructor Index

 o java.util.NoSuchElementException()
Constructs a NoSuchElementException with no detail message.
 o java.util.NoSuchElementException(String)
Constructs a NoSuchElementException with the specified detail message.

Constructors

 o NoSuchElementException
public NoSuchElementException()
Constructs a NoSuchElementException with no detail message.

Since:
JDK1.0
 o NoSuchElementException
public NoSuchElementException(String s)
Constructs a NoSuchElementException with the specified detail message.

Parameters:
s - the detail message.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index